package com.dtx.entity;

import org.beetl.sql.annotation.entity.AssignID;
import org.beetl.sql.annotation.entity.Table;

import java.util.Date;

/*
 * 日志表
 * gen by beetlsql 2022-02-10
 */
@Table(name="beetlsql.t_sys_log")
public class OtherSysLog {

    // alias
    public static final String ALIAS_log_id = "log_id";
    public static final String ALIAS_request_desc = "request_desc";
    public static final String ALIAS_request_method = "request_method";
    public static final String ALIAS_user_ip = "user_ip";
    public static final String ALIAS_user_name = "user_name";
    public static final String ALIAS_create_time = "create_time";

    /*
    日志ID
    */
    @AssignID("simple")
    private Long logId ;
    /*
    方法描述
    */
    private String requestDesc ;
    /*
    请求方法
    */
    private String requestMethod ;
    /*
    用户IP
    */
    private String userIp ;
    /*
    用户名字
    */
    private String userName ;
    /*
    记录时间
    */
    private Date createTime ;

    public OtherSysLog() {
    }

    /**
     * 日志ID
     *@return
     */
    public Long getLogId(){
        return  logId;
    }
    /**
     * 日志ID
     *@param  logId
     */
    public void setLogId(Long logId ){
        this.logId = logId;
    }

    /**
     * 方法描述
     *@return
     */
    public String getRequestDesc(){
        return  requestDesc;
    }
    /**
     * 方法描述
     *@param  requestDesc
     */
    public void setRequestDesc(String requestDesc ){
        this.requestDesc = requestDesc;
    }

    /**
     * 请求方法
     *@return
     */
    public String getRequestMethod(){
        return  requestMethod;
    }
    /**
     * 请求方法
     *@param  requestMethod
     */
    public void setRequestMethod(String requestMethod ){
        this.requestMethod = requestMethod;
    }

    /**
     * 用户IP
     *@return
     */
    public String getUserIp(){
        return  userIp;
    }
    /**
     * 用户IP
     *@param  userIp
     */
    public void setUserIp(String userIp ){
        this.userIp = userIp;
    }

    /**
     * 用户名字
     *@return
     */
    public String getUserName(){
        return  userName;
    }
    /**
     * 用户名字
     *@param  userName
     */
    public void setUserName(String userName ){
        this.userName = userName;
    }

    /**
     * 记录时间
     *@return
     */
    public Date getCreateTime(){
        return  createTime;
    }
    /**
     * 记录时间
     *@param  createTime
     */
    public void setCreateTime(Date createTime ){
        this.createTime = createTime;
    }

}
